/**
 * 表单验证
 * 
 * @param {Object} rules 验证字段的规则
 * @param {Object} messages 验证字段的提示信息
 * 
 */

import basic from './basic.js';
var actmodel = new basic();
actmodel.do = "pro_activitylimit"
actmodel.activitylimit = function (aid) {

  var app = getApp();
  var data = { op: "activitylimit",aid }
  var that= this;
  return new Promise((resolve, reject) => {
    app.util.request({
      'url': 'entry/wxapp/' + actmodel.do,
      'data': data,
      'method': "get",
      showLoading: false,
      success: function (res) {

     
        resolve(res.data)
    
      },
      fail: function (res) {
        
      },
      complete: function () {
      }
    });
  });
},
 
 
module.exports = actmodel;